package com.example.muchentuner.metro;

import android.animation.TimeInterpolator;

public class MyInterpolator implements TimeInterpolator {
    public float getInterpolation(float input) {
        return (float) ((1/Math.PI)*Math.asin(2*input-1)+0.5);
        //return (float) (2.125*Math.cbrt(input)-3.345*Math.sqrt(input)+2.227*input);
    }
}
